﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="active_HuluWaDrawAward_admin_index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>管理后台</title>
<!--                       CSS                       -->
<!-- Reset Stylesheet -->
<link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />
</head>
<body>
<form id="form1" runat="server">
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">Admin</a></h1>
      <!-- Logo (221px wide) -->
      <a href="index.aspx"><img id="logo" src="resources/images/logo.png" alt="Admin" /></a>
      <!-- Sidebar Profile links -->
      <div id="profile-links"> Hello, <a href="#" title="Edit your profile"><%=Session["user"].ToString() %></a>, welcome to  Admin <br />
        <br />
        <a href="../index.aspx" target="_blank" title="View the Site">浏览活动页面</a> |  </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->
        <li> <a href="index.aspx" class="nav-top-item current">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          活动 </a> </li>

       
      </ul>
      <!-- End #main-nav -->
 
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <!-- Page Head -->

    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>

    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>概率设置</h3>
        <ul class="content-box-tabs">
          <li><a href="#tab1" class="default-tab current" onclick="Defaule();" id="A1">游览</a></li>
          <!-- href must be unique and match the id of target div -->
          <li><a href="#tab2" id="A2" onclick="Style();" >添加</a></li>
        </ul>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
       <div class="tab-content default-tab " id="Div1"><div></div>
        <!-- End #tab1 -->
        <div class="tab-content" id="Div2">
            <table class="gridview" cellspacing="0" rules="all" border="0" style="border-collapse:collapse;">
        <tr>
            <td width="120">总支出</td>
            <td><%= total %></td>
        </tr>
           <tr>
            <td>游戏参与人数</td>
            <td><%= usercounts %></td>
        </tr>
            </table>
            <div class="clear"></div>
            <!-- End .clear -->
        </div>
        <!-- End #tab2 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
   

    <div id="Div3"> <small>
      <!-- Remove this notice or replace it with whatever you want -->
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>概率设置</h3>
        <ul class="content-box-tabs">
          <li><a href="#tab1" class="default-tab current" onclick="Defaule();" id="gototab1">游览</a></li>
          <!-- href must be unique and match the id of target div -->
          <li><a href="#tab2" id="gototab2" onclick="Style();" >添加</a></li>
        </ul>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
       <div class="tab-content default-tab " id="tab1"><div></div>
        <!-- End #tab1 -->
        <div class="tab-content" id="tab2">
            <table class="gridview" cellspacing="0" rules="all" border="0" style="border-collapse:collapse;">
            <tr>
		        <th scope="col">葫芦娃</th>
                <th scope="col">最小概率</th>
                <th scope="col">最大概率</th>
                <th scope="col">操作</th>
	        </tr>
            <asp:Repeater ID="reptDatas" runat="server">
            <ItemTemplate>
            <tr>
                <td><input name="awardname_<%#Eval("id") %>" type="text" class="text" style="width:120px;" value="<%# Eval("awardname") %>" />
                </td>
                <td><input name="minprop_<%#Eval("id") %>" type="text" class="text" style="width:150px;" value="<%# Eval("minprop") %>" /></td>
                <td><input name="maxprop_<%#Eval("id") %>" type="text" class="text" style="width:150px;" value="<%# Eval("maxprop") %>" /></td>
                <td><input name="ids" type="hidden" value="<%#Eval("id") %>" /></td>
	        </tr>    
            </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="4">
              <asp:Button ID="btnUpdateAll" runat="server" CssClass="button" 
                  onclick="btnUpdateAll_Click" Text="全部保存" />
                </td>
            </tr>
            </table>
            <div class="clear"></div>
            <!-- End .clear -->
        </div>
        <!-- End #tab2 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
   

    <div id="footer"> <small>
      <!-- Remove this notice or replace it with whatever you want -->
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>

</form>
</body>
<script type="text/javascript">

  

</script>
</html>
